<template>
  首页
  <!--  <div>-->
  <!--    <el-card v-for="item in state.cardList" :key="item.name" >这是card</el-card>-->
  <!--  </div>-->
  <!--  <el-tabs-->
  <!--      v-model="state.activeName"-->
  <!--      type="card"-->
  <!--      class="demo-tabs"-->
  <!--  >-->
  <!--    <el-tab-pane label="文件分片上传上传" name="first">-->
  <!--      <ChunkFileUpload-->
  <!--          check-url="/api/gateway/file/upload/breakpoint/check"-->
  <!--          chunk-url="/api/gateway/file/upload/breakpoint/chunk"-->
  <!--          merge-url="/api/gateway/file/upload/breakpoint/merge"-->
  <!--      />-->
  <!--    </el-tab-pane>-->
  <!--    <el-tab-pane label="静态页面加载" name="secend">-->
  <!--      <StaticPage :url="staticUrl"/>-->
  <!--    </el-tab-pane>-->
  <!--  </el-tabs>-->
</template>
<script setup>

import ChunkFileUpload from "@/views/component/ChunkFileUpload.vue";
import {reactive, ref} from "vue";
import StaticPage from "@/views/component/StaticPage.vue";

const state = reactive({
  activeName: 'first',
  cardList: [
    {
      title: '文件分片上传上传',
      name: 'first'
    },
    {
      title: '静态页面加载',
      name: 'secend'
    }
  ]
})

const staticUrl = ref("https://oss.xunfong.top/test.html")

</script>

<script lang="scss">

</script>